package com.daka.dao;

import com.daka.entity.ActivityAddress;
import com.daka.mybatis.SQLMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "activityAddressMapper")
@SQLMapper
public interface ActivityAddressMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActivityAddress record);

    ActivityAddress selectByPrimaryKey(Long id);

    List<ActivityAddress> selectByStatement(ActivityAddress record);

    int selectByStatementCount(ActivityAddress record);

    int updateByPrimaryKeySelective(ActivityAddress record);

    List<ActivityAddress> selectAll();

}